package com.dave.gd.core.rule.execute;

import com.dave.gd.core.base.entity.impl.AbstractBaseEntity;

public interface IRuleMgrExecute {
    
    /**
     * 执行业务对象保存前的默认规则
     * @param entt
     * @return
     */
    boolean execute(AbstractBaseEntity entt, String methodName);
    
    /**
     * 带参数的执行
     * @param entt
     * @param methodName
     * @param params
     * @return
     */
    boolean execute(AbstractBaseEntity entt, String methodName, final Object... params);
}
